<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<script>
//    function fun(a,b,c){
//        return a+b*c;
//    }
    var func = new Function('a','b','c','return a+b*c');
    console.log(func(1, 2, 3));
</script>
</body>
</html>